package com.cinc.ebc.mm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cinc.ebc.mm.entity.MmPurchaseRequisition;
import com.cinc.ebc.mm.model.MmPurchaseRequisitionDetailModel;
import com.cinc.ebc.mm.vo.MmPurchaseRequisitionDetailPage;
import org.apache.ibatis.annotations.Param;
import org.quartz.SimpleTrigger;

import java.util.List;

/**
 * @Description: 采购申请
 * @Author: jeecg-boot
 * @Date:   2022-03-20
 * @Version: V1.0
 */
public interface MmPurchaseRequisitionMapper extends BaseMapper<MmPurchaseRequisition> {

    List<MmPurchaseRequisitionDetailModel> selectDetailList(IPage<MmPurchaseRequisitionDetailModel> page,
                                                            @Param("info") MmPurchaseRequisitionDetailPage mmPurchaseRequisitionDetailPage,
                                                            @Param("permissionSql") String permissionSql);

}
